﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<windows.h>
#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define mine 10
void put(char board[ROWS][COLS], int rows, int cols, char set);
void lei(char board[ROWS][COLS], int row, int col);
void print(char board[ROWS][COLS], int row, int col);
void find(char m_board[ROWS][COLS], char s_board[ROWS][COLS], int row, int col);
void finds(char m_board[ROWS][COLS], char s_board[ROWS][COLS], int row, int col, int x, int y, int* p);
int count_mine(char borad[ROWS][COLS], int x, int y);